#!/bin/bash

rm -rf build
mkdir build
cd build
clear

cmake ../
make -j8

cd ..

rm -rf mipi_demo
mkdir mipi_demo
cp ./run_demo.sh ./mipi_demo -rf
cp ./build/MIPI_LVGL_DEMO ./mipi_demo -rf
cp ./build/Middlewares/LVGL/GUI_APP/ui/libui.a ./mipi_demo -rf
cp ./lib ./mipi_demo -rf
# cp ./test_db ./mipi_demo/ -rf

cp mipi_demo ~/Public/LVGL/. -rf

